﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

class PooledResource : IDisposable
{
    private List<PooledResource> resourcePool;
    private bool available;
   
    public PooledResource()
    {
        resourcePool = new List<PooledResource>();
    }

    private PooledResource(int data)
    {
        this.data = data;
    }
    public PooledResource GetInstance()
    {

    }
    ~PooledResource()
    {
        this.Dispose(false);
    }
    public void Dispose()
    {
        this.Dispose(true);
        GC.SuppressFinalize(this);
    }
    private void Dispose(bool disposing)
    {
        if (disposing)
        { }
        
    }
}

